package com.hzit.aop.dao.impl;

import com.hzit.aop.dao.UserDao;
import org.springframework.stereotype.Repository;

/**
 * 类名：
 * 作者：WF
 * 功能：目标对象
 */
@Repository
public class UserDaoImpl implements UserDao {

	@Override
	public void add() {
		System.out.println("UserDaoImpl--->add()");
		// int i = 10 / 0;

	}

	@Override
	public void update() {
		System.out.println("UserDaoImpl--->update()");

	}

	@Override
	public void delete() {
		System.out.println("UserDaoImpl--->delete()");
	}

	@Override
	public void query() {
		System.out.println("UserDaoImpl--->query()");
	}
}
